From: Milan Crha Date: Wed, 22 Apr 2026 15:04:28 +0000 (+0200) Subject: endSessionDialog: Recognize scheduled updates in the Power Off dialog X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~10^2^2~23 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=de9d38b5080e16c4ff0ee0e1fd9cec4a5c89cc71;p=gnome-shell.git endSessionDialog: Recognize scheduled updates in the Power Off dialog The Power Off dialog should show a checkbox to install (or not) a scheduled update, but I missed it in my previous https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4185 Part-of: --- diff --git a/js/ui/endSessionDialog.js b/js/ui/endSessionDialog.js index e803785d7..ee26bffb1 100644 --- a/js/ui/endSessionDialog.js +++ b/js/ui/endSessionDialog.js @@ -713,7 +713,7 @@ class EndSessionDialog extends ModalDialog.ModalDialog { this._loadSessions().catch(logError); _setCheckBoxLabel(this._checkBox, dialogContent.checkBoxText || ''); - this._checkBox.visible = dialogContent.checkBoxText && this._updatePrepared; + this._checkBox.visible = dialogContent.checkBoxText && (this._updatePrepared || this._updateScheduled); this._checkBox.checked = this._checkBox.visible && !this._isBatteryLow();